package com.xpec.c4.game.common;

import com.xpec.c4.game.utility.GUID;
import com.xpec.c4.service.group.datalayer.IShareGroupData;

/**
 * 
 */
public class VerifyInfoNotifyMsg implements IShareGroupData{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7315195981702258851L;
	

	static public int VERIFY_TYPE_LOGIN = 0;
	
	static public int VERIFY_TYPE_SWITCHZONE = 1;
	
	static public int VERIFY_TYPE_INOUTINSTANCE_COMMAND = 2;
	
	static public int VERIFY_TYPE_LOGIN_ZONE_CLOSING = 3;

	static public int VERIFY_ERROR = 0;
	
	static public int VERIFY_SUCCESS = 1;
	
	

	/**
	 * 驗證method
	 */
	private int verifyType;
	/**
	 * 驗證相關資訊
	 */
	private LoginVerifyInfo verifyInfo;
	/**
	 * 其他順帶資訊, 模組名稱
	 */
	private String moduleName;
	/**
	 * 回傳驗證的結果, response使用的
	 */
	private int result;
	
	/**
	 * sesssionID
	 */
	private GUID sessionID;
	
	public VerifyInfoNotifyMsg (){}
	
	public VerifyInfoNotifyMsg(int verifyType, LoginVerifyInfo verifyInfo,String moduleName , GUID sessionID) {
		this.verifyType = verifyType;
		this.verifyInfo = verifyInfo;
		this.sessionID = sessionID;
		this.moduleName = moduleName;
	}

	public int getVerifyType() {
		return verifyType;
	}

	public void setVerifyType(int verifyType) {
		this.verifyType = verifyType;
	}

	public LoginVerifyInfo getVerifyInfo() {
		return verifyInfo;
	}

	public void setVerifyInfo(LoginVerifyInfo verifyInfo) {
		this.verifyInfo = verifyInfo;
	}

	public String getModuleName() {
		return moduleName;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

	public int getResult() {
		return result;
	}
	public void setResult(int result) {
		this.result = result;
	}
	
	public GUID getSessionID() {
		return sessionID;
	}

	public void setSessionID(GUID sessionID) {
		this.sessionID = sessionID;
	}
	
}
